package com.ruoyi.warning.domain.http;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 告警设备表
 * </p>
 *
 * @author chenhc
 * @since 2025-02-14
 */
@Data
//@TableName("warning_device")
@ApiModel("服务")
@SuppressWarnings("serial")
public class LService{
    @JsonProperty("device_id")
    @ApiModelProperty("告警设备id")
    private Integer deviceId;

    @JsonProperty("service_id")
    @ApiModelProperty("服务ID")
    private Integer serviceId;

    @JsonProperty("service_ip")
    @ApiModelProperty("服务IP地址")
    private String serviceIp;

    @JsonProperty("service_type")
    @ApiModelProperty("服务类型")
    private String serviceType;

    @JsonProperty("service_desc")
    @ApiModelProperty("服务描述")
    private String serviceDesc;

    @JsonProperty("service_param")
    @ApiModelProperty("服务参数")
    private String serviceParam;

    @JsonProperty("service_ignore")
    @ApiModelProperty("是否忽略服务")
    private Integer serviceIgnore;

    @JsonProperty("service_status")
    @ApiModelProperty("服务状态")
    private Integer serviceStatus;

    @JsonProperty("service_changed")
    @ApiModelProperty("服务变更时间戳")
    private Long serviceChanged;

    @JsonProperty("service_message")
    @ApiModelProperty("服务消息")
    private String serviceMessage;

    @JsonProperty("service_disabled")
    @ApiModelProperty("服务是否禁用")
    private Integer serviceDisabled;

    @JsonProperty("service_ds")
    @ApiModelProperty("服务数据源")
    private String serviceDs;

    @JsonProperty("service_template_id")
    @ApiModelProperty("服务模板ID")
    private Integer serviceTemplateId;

    @JsonProperty("service_name")
    @ApiModelProperty("服务名称")
    private String serviceName;

    @ApiModelProperty("端口号")
    private Integer duankou;
}
